int main();

int * GetTwoFind(unsigned char * array, int * length);

void swap_int(int * a, int * b);

bool checkSite(unsigned char * array, int length, bool oddSign);

void WriteTxtInt(int * Array, char * FileName, int size);

void WriteUnsignedCharTxt(unsigned char * Array, char * FileName, int size);

void WriteTxt( char * Array, char * FileName, int size);

int * GetIntArray(int size);

void CopyArray(unsigned char * source, int sBegin, unsigned char * des, int dBegin, int length);

char * GetUnSignChar(int size);

unsigned char getOddSite(unsigned char * array, int length);

unsigned char getCheckByte(unsigned char * array, bool oddSign, int length);

unsigned char * ReturnTaskId(unsigned char * Array);

unsigned char * ReturnContent(unsigned char * Array);

int getOneCount(unsigned char * array, int length);

int bytes2Int(unsigned char * bytes);

unsigned char * GetTaskId(int taskId);

int GetRand();

unsigned char * GetOutMessageByte(unsigned char funcCode, unsigned char operateCode, unsigned char useType, unsigned char * TaskId, unsigned char * Content, int contentLength);

unsigned char * GetMessageByte(unsigned char funcCode, unsigned char operateCode, unsigned char useType, bool oddSign, unsigned char * TaskId, unsigned char * Content, unsigned char BeginSite, int contentLength);




